package com.xbongbong.pro.appdetail.pojo;

import com.xbongbong.paas.field.ItemPoJo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 移动端详情状态区块信息
 *
 * @author GuoJun.HU
 * @date 2019/3/13 18:29
 * @since V1.0
 */
@ToString
@Getter
@Setter
public class MobileDetailStatusBlockPojo {

    private String type;
    private List<ItemPoJo> options;
    private Integer editable;

    public MobileDetailStatusBlockPojo() {
        this.type = "status";
    }

    public MobileDetailStatusBlockPojo(List<ItemPoJo> options) {
        this.type = "status";
        this.options = options;
    }

    public MobileDetailStatusBlockPojo(List<ItemPoJo> options, Integer editable) {
        this.type = "status";
        this.options = options;
        this.editable = editable;
    }
}
